import { screen } from 'electron';

export const getSize = () => {
  const { size, scaleFactor } = screen.getPrimaryDisplay();
  return {
    width: size.width * scaleFactor,
    height: size.height * scaleFactor
  };
};
